Silence compiler warnings new with gcc 8.
authorWerner Koch <wk@gnupg.org>
Mon, 17 Dec 2018 17:46:26 +0000 (18:46 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 1 Jul 2022 16:06:43 +0000 (17:06 +0100)
commitbda82782633749ebce0c0dd0801dcb3327da4555
treef34e18e0f272aa12806ba1c0fe19603a06f749ce
parent8d49589b0870b317f82f74eca8851da36745deb4
Silence compiler warnings new with gcc 8.

* dirmngr/dns.c: Include gpgrt.h.  Silence -Warray-bounds also gcc.
* tests/gpgscm/scheme.c: Include gpgrt.h.
(Eval_Cycle): Ignore -Wimplicit-fallthrough.
--

The funny use of case and labels in the CASE macro seems confuse the
fallthrough detection.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 21fc089148678f59edb02e0e16bed65b709fb972)

Gbp-Pq: Topic from-2.2.13
Gbp-Pq: Name Silence-compiler-warnings-new-with-gcc-8.patch
dirmngr/dns.c
tests/gpgscm/scheme.c